using System.Collections.Generic;
using CoreLibrary.Paging;
using CoreLibrary.Repo;
using Entities.DataBase.Obj;
using Entities.DataBase.Persistent;

namespace Entities.DataBase {

    public interface IUserRepository : IRepository<User> {

        void Delete(string accountId);
        void Create(User account);
        User Get(string accountId);
        User GetByEmail(string email);
        User GetByLogInName(string name);

        List<User> List();
        List<User> List(PagingRequest request);
        List<UserInfo> ListInfos();

    }
}